package
{
	import flash.display.Sprite;
	import flash.text.TextField;
	
	public class MsgText
	{
		private var m_pText:TextField = new TextField;
		
		public function MsgText( sp:Sprite )
		{
			sp.addChild(m_pText);
		}

		public function get text():String{
			return m_pText.text;
		}
		public function set text( s:String ):void{
			m_pText.text=s;
		}

	}
}